package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.entity.product.ProductSku;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductSkuMapper {
    void batchSave(@Param("productSkuList")List<ProductSku> productSkuList);

    void updateById(ProductSku productSku);


    void deleteByProductId(Long productId);

    void updateStatus(@Param("productId") Long productId, @Param("status")Integer status);
}
